package pers.xuehongyan.useat.server.exception.machine;

import org.springframework.lang.NonNull;
import pers.xuehongyan.useat.server.enity.Machine;

/**
 * @author xuehongyan
 */
public class MachineFullException extends MachineUnavailableException {
    public MachineFullException(@NonNull Machine machine) {
        super(String.format("Machine with id:%d is full", machine.getId()));
    }
}
